import Svgicon from '@/components/Svgicon.vue'
// 如果您正在使用CDN引入，请删除下面一行。
import * as ElementPlusIconsVue from '@element-plus/icons-vue'

const components: any = { Svgicon }



export default {
    install(app: any) {
        Object.keys(components).forEach(key => {
            app.component(key, components[key])

        })
        // 注册ElementPlusIconsVue全部图标
        for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
            app.component(key, component)
        }
    }
}